varying vec4 g_Position;
varying vec4 w_Position;

void main() {

    g_Position = vec4(position, 1.0);
    w_Position = modelMatrix * g_Position;

    gl_Position = projectionMatrix * viewMatrix * w_Position;
}